package yc.star.friend.domain.user.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserDTO {

    @Pattern(regexp = "^(1[3-9]\\d{9})$", message = "手机号码格式不正确")
    private String phone;

    private String code;

}